﻿<ion-view view-title="专线详情" cache-view="true" hide-back-button="false" ng-init="init()">
  <ion-content>
    <section class="g_main">
      <!-- 个人信息 -->
      <section class="my_info my_truck_info" ng-click="toCrop(lineInfo.owner_id)">
        <img ng-src="{{lineInfo.owner_photo||'img/zzz_header.jpg'}}" alt="">
        <div class="user_info">
          <div class="name"><strong>{{lineInfo.owner_name}}</strong><!--span class="icon_star star_{{lineInfo.stars}}">{{lineInfo.stars}}星</span--></div>
          <div class="company"><i class="icon icon_tag_qi">企业认证</i><i class="icon icon_tag_shi">实名认证</i><!--i class="icon icon_tag_che">有车</i><i class="icon icon_tag_piao">发票</i--> <em>{{lineInfo.corp_name}}</em></div>          
        </div>
        <div class="contact_info">
          <a href="tel: {{lineInfo.owner_phone}}"><i class="icon icon_tel"></i>电话联系</a>
          <a ng-click="openchat($event, {{'lineInfo.owner_id'}}, {{'lineInfo.owner_name'}}, {{'lineInfo.owner_photo'}})"><i class="icon icon_message"></i>在线联系</a>
        </div>
      </section>
      <!-- 个人信息操作面板 -->
      <section class="my_truck_info_list">
        <ul>          
          <li><span>所在位置</span><em>{{lineInfo.start_area_disp}}</em></li>
          <li><span>意愿城市</span><em>{{lineInfo.end_area_disp}}</em></li>                   
          <li><span>重货价</span><em>{{lineInfo.heavy_cargo_price}}元/吨</em></li>
          <li><span>泡货价</span><em>{{lineInfo.light_cargo_price}}元/立方</em></li>
          <li><span>起运价</span><em>{{lineInfo.base_price}}元</em></li>
        </ul>
      </section>
      <button ng-show="userInfo.member_type==1" ng-click="toCreateWayBill()" class="btn_save">我要发货</button>
    </section>
  </ion-content>
</ion-view>
